package com.len.mapper;

import com.len.base.BaseMapper;
import com.len.entity.SpYongjin;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface SpYongjinMapper extends BaseMapper<SpYongjin,String> {
    @Select("select * from sp_yongjin order by TB_YJ_PRICE desc limit 0,10")
    List<Map> listPh();
    @Select("select * from sp_yongjin where FK_ID = #{fkId}")
    SpYongjin getyj(String fkId);
}
